release: 0.68.1#128
Conversation
|
Firetiger deploy monitoring skipped This PR didn't match the auto-monitor filter configured on your GitHub connection:
Reason: This is an automated release PR for kernel-node-sdk (a Node.js SDK), not a code change to a service within the kernel repo itself; unclear which logical service this impacts or if deploy monitoring applies to SDK releases. To monitor this PR anyway, reply with |
|
🧪 Testing To try out this version of the SDK: Expires at: Fri, 17 Jul 2026 02:10:36 GMT |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 224b078. Configure here.
| // content-type for those, and only elide it for operations with no body at | ||
| // all (e.g. GET/DELETE). | ||
| if (body == null && 'body' in options) { | ||
| return this.#encoder({ body, headers: buildHeaders([rawHeaders]) }); |
There was a problem hiding this comment.
Null body sends JSON null
Low Severity
The new optional-body branch uses body == null, so an explicit null body (e.g. apiKeys.rotate(id, null)) runs through #encoder and JSON.stringify(null) becomes the string "null", which is attached to the fetch. Omitted optional bodies are undefined and correctly get Content-Type without a body; null now sends a literal JSON null entity, which differs from pre-change behavior and from the stated fix for omitted params.
Reviewed by Cursor Bugbot for commit 224b078. Configure here.


Automated Release PR
0.68.1 (2026-06-17)
Full Changelog: v0.68.0...v0.68.1
Bug Fixes
This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions
Note
Low Risk
Small, targeted change to request body/header assembly with no API surface changes beyond the patch version bump.
Overview
Release 0.68.1 bumps package version metadata (
package.json,src/version.ts, release manifest) and documents the patch inCHANGELOG.md.The functional change is a client HTTP fix in
buildBody: when an operation defines a request body but the caller leaves an optional body out (bodyisnull/undefinedyet'body' in options), the client now runs the request through the JSON encoder soContent-Type: application/jsonis still sent. Operations with no body at all (e.g. GET/DELETE) continue to omit body headers as before.Reviewed by Cursor Bugbot for commit 224b078. Bugbot is set up for automated code reviews on this repo. Configure here.